package com.xyh.run.user;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.provisioning.InMemoryUserDetailsManager;

import java.util.Collection;

/**
 * @version v1.0
 * @类描述：  security 对象类
 * @项目名称：
 * @包名： com.xyh.run.user
 * @类名称：MyUserMagesVo
 * @创建人：YIHANG.XU
 * @创建时间：2021/6/155:49 下午
 * @修改人：YIHANG.XU
 * @修改时间：2021/6/155:49 下午
 * @修改备注：
 * @Copyright
 */
public class MyUserMagesVo extends User {
    private String person;

    public MyUserMagesVo(String username, String password, Collection<? extends GrantedAuthority> authorities) {
        super(username, password, authorities);
    }

    public MyUserMagesVo(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends GrantedAuthority> authorities) {
        super(username, password, enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, authorities);
    }
}
